﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Northwind.NET.FE.zzzSamples
{
    public partial class ShippersOrdersForm : Form
    {
        public ShippersOrdersForm()
        {
            InitializeComponent();
        }

        private void shipperBindingNavigatorSaveItem_Click(object sender, EventArgs e)
        {
            this.Validate();
            this.shipperBindingSource.EndEdit();
            this.tableAdapterManager.UpdateAll(this.dataModelDataSet);

        }

        private void ShippersOrdersForm_Load(object sender, EventArgs e)
        {
            // TODO: This line of code loads data into the 'dataModelDataSet.Customer' table. You can move, or remove it, as needed.
            this.customerTableAdapter.Fill(this.dataModelDataSet.Customer);
            // TODO: This line of code loads data into the 'dataModelDataSet.Order' table. You can move, or remove it, as needed.
            this.orderTableAdapter.Fill(this.dataModelDataSet.Order);
            // TODO: This line of code loads data into the 'dataModelDataSet.Shipper' table. You can move, or remove it, as needed.
            this.shipperTableAdapter.Fill(this.dataModelDataSet.Shipper);

        }
    }
}
